package edu.whut.mall.mapper;

import edu.whut.mall.model.GroupBuyRecord;
import edu.whut.mall.model.GroupBuyRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GroupBuyRecordMapper {
    long countByExample(GroupBuyRecordExample example);

    int deleteByExample(GroupBuyRecordExample example);

    int deleteByPrimaryKey(Long id);

    int insert(GroupBuyRecord record);

    int insertSelective(GroupBuyRecord record);

    List<GroupBuyRecord> selectByExample(GroupBuyRecordExample example);

    GroupBuyRecord selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") GroupBuyRecord record, @Param("example") GroupBuyRecordExample example);

    int updateByExample(@Param("record") GroupBuyRecord record, @Param("example") GroupBuyRecordExample example);

    int updateByPrimaryKeySelective(GroupBuyRecord record);

    int updateByPrimaryKey(GroupBuyRecord record);
}